@import "~@/styles/variables.scss";
@import "~@/styles/mixins.scss";

.base-card {
  background-color: $white;
  border-radius: $radius-large;
  padding: $padding-large;
  margin-bottom: $spacing-medium;
  transition: $transition-normal;
  
  // 阴影变体
  &--shadow-light {
    box-shadow: $shadow-light;
  }
  
  &--shadow-medium {
    box-shadow: $shadow-medium;
  }
  
  &--shadow-dark {
    box-shadow: $shadow-dark;
  }
  
  // 可点击状态
  &--clickable {
    cursor: pointer;
    
    &:active {
      transform: scale(0.98);
      opacity: 0.9;
    }
  }
  
  // 全宽模式
  &--full-width {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
  
  // 卡片头部
  &__header {
    margin-bottom: $spacing-medium;
    padding-bottom: $spacing-medium;
    border-bottom: 1px solid $border-color;
  }
  
  // 卡片标题
  &__title {
    font-size: $font-subtitle;
    font-weight: $font-weight-bold;
    color: $text-primary;
  }
  
  // 卡片内容
  &__content {
    font-size: $font-normal;
    color: $text-primary;
  }
  
  // 卡片底部
  &__footer {
    margin-top: $spacing-medium;
    padding-top: $spacing-medium;
    border-top: 1px solid $border-color;
  }
} 